<template>
  <div class="tims-main-layout">
    <div class="tims-main-layout-header">
      <div class="tims-main-layout-nav">
        <Navbar2></Navbar2>
      </div>
    </div>
    <div v-if="$route.meta.showBanner">
      <img src="@/assets/images/log-banner.png" class="banner-img">
    </div>
  </div>
  <RouterView />
</template>

<script setup>
import Navbar2 from '@/components/Navbar2.vue'
</script>
<style lang="scss" scoped>
.el-main {
  padding: 0;
}

.tims-main-layout {
  padding-top: 0px;
  padding-bottom: 5px;
  .tims-main-layout-nav {
    max-width: 1520px;
    min-width: 100%;
    margin: 0 auto;
    height: 60px;
    background: #fff;
  }
}
</style>